<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>律师信息</title>
  <!-- 新 Bootstrap 核心 CSS 文件 -->
  <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

  <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

  <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
  <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
  <div class="container text-center">
    <h1>律师列表</h1>
    <table class="table table-bordered text-center">
      <tr class="bg-primary">
        <td>律师编号</td>
        <td>姓名</td>
        <td>性别</td>
        <td>民族</td>
        <td>出生日期</td>
        <td>毕业院校</td>
        <td>删除</td>
        <td>修改</td>
      </tr>
      <tr th:each="lawyer:${lawList}">
        <td th:text="${lawyer.lawyerid}"></td>
        <td th:text="${lawyer.lawyername}"></td>
        <td th:text="${lawyer.gender}"></td>
        <td th:text="${lawyer.nation}"></td>
        <td th:text="${lawyer.birthday}"></td>
        <td th:text="${lawyer.school}"></td>
        <td><a th:href="@{/delLawyer(lawyerid=${lawyer.lawyerid})}" class="btn btn-info">删除</a></td>
        <td><a th:href="@{/getLawyer(lawyerid=${lawyer.lawyerid})}" class="btn btn-warning">修改</a></td>
      </tr>
    </table>
  </div>
</body>
</html>